@csrf
<div class="layui-form-item">
    <label for="parent_id" class="layui-form-label">上级</label>
    <div class="layui-input-block">
        <input type="hidden" name="module_id" value="{{$button->module_id}}">
        <input type="text" id="parent_id" name="parent_id" lay-filter="parent_id" class="layui-input">
    </div>
</div>
<div class="layui-form-item">
    <label for="encode" class="layui-form-label">编号</label>
    <div class="layui-input-block">
        <input type="text" name="encode" class="layui-input" value="{{$button->encode??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="full_name" class="layui-form-label">名称</label>
    <div class="layui-input-block">
        <input type="text" name="full_name" class="layui-input" value="{{$button->full_name??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="sort_code" class="layui-form-label">排序</label>
    <div class="layui-input-block">
        <input type="text" name="sort_code" class="layui-input" value="{{$button->sort_code??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="action_url" class="layui-form-label">地址</label>
    <div class="layui-input-block">
        <input type="text" name="action_url" class="layui-input" value="{{$button->action_url??''}}">
    </div>
</div>
